package com.zjdiepu.www.model.system.ext;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import com.zjdiepu.www.base.core.PageExt;

/**
 * 行政机构<br/>
 * @author winby<br/>
 * @time 2017年04月27日 17时03分<br/>
 * @since 1.0<br/>
 */
@ApiModel(value="BaseOrganizationExt", description="行政机构查询条件", parent = PageExt.class)
public class BaseOrganizationExt extends PageExt {
	
	private static final long serialVersionUID = 1L;
	/**
	 * 上级机构ID
	 */
	@ApiModelProperty(name="parentId",required=false,value="上级机构ID",example="上级机构ID")
	private String parentId;
	
	/**
	 * 机构名称
	 */
	@ApiModelProperty(name="orgName",required=false,value="机构名称",example="机构名称")
	private String orgName;
	
	/**
	 * 所在省份
	 */
	@ApiModelProperty(name="provinceId",required=false,value="所在省份",example="所在省份")
	private String provinceId;
	
	/**
	 * 所在地区
	 */
	@ApiModelProperty(name="areaId",required=false,value="所在地区",example="所在地区")
	private String areaId;
	
	/**
	 * 数据类型:1.系统生成 2.导入数据
	 */
	@ApiModelProperty(name="typeData",required=false,value="数据类型:1.系统生成 2.导入数据",example="0")
	private Integer typeData;
	
	public String getParentId(){
		return this.parentId;
	}
	
	public void setParentId(String parentId){
		this.parentId = parentId;
	}

	public String getOrgName(){
		return this.orgName;
	}
	
	public void setOrgName(String orgName){
		this.orgName = orgName;
	}

	public String getProvinceId(){
		return this.provinceId;
	}
	
	public void setProvinceId(String provinceId){
		this.provinceId = provinceId;
	}

	public String getAreaId(){
		return this.areaId;
	}
	
	public void setAreaId(String areaId){
		this.areaId = areaId;
	}

	public Integer getTypeData(){
		return this.typeData;
	}
	
	public void setTypeData(Integer typeData){
		this.typeData = typeData;
	}

	@Override
	public String toString() {
		return super.toString() + "BaseOrganization [parentId = " + parentId + ", orgName = " + orgName + ", provinceId = " + provinceId + ", areaId = " + areaId + ", typeData = " + typeData + "]";
	}
    
}